﻿@{
    ViewBag.Title = "ListView";
    Layout = "~/Views/Shared/_LayoutPoster.cshtml";
}
<style type="text/css" >
    
    .style-select{
        margin-left: 600px;
    }

    .table{
        align-content:center;
    }
</style>
<div>
    <h1 style="margin-left: 300px;"> @Html.Raw(ViewBag.head)</h1>
    @using (Html.BeginForm())
    {
        <div style="visibility:hidden" id="x">@Html.Raw(ViewBag.x)</div>
        <div class="style-select">
        Danh sách : 
        @Html.DropDownList("luachon", ViewData["DropDownItems"] as List<SelectListItem>)
        <input type="submit" value="Duyệt" name="submit" />
    </div>
    }    
    <br />
    <br />
    <div class="table">
        <table>
               @Html.Raw(ViewBag.body)
        </table>
    </div>
</div>